Fixed globe outputting still images

This commit is contained in:
TheEssem 2021-05-04 16:27:35 -05:00
parent 6a96686772
commit 9f7f4d21ba

View file

@ -67,7 +67,7 @@ Napi::Value Globe(const Napi::CallbackInfo &info) {
Napi::Object result = Napi::Object::New(env);
result.Set("data", Napi::Buffer<char>::Copy(env, (char *)blob.data(),
blob.length()));
result.Set("type", type);
result.Set("type", "gif");
return result;
} catch (Napi::Error const &err) {
throw err;