feat(editor): update
This commit is contained in:
@@ -37,7 +37,7 @@ func (c *Common) Upload(
|
||||
if typeArg != nil {
|
||||
val = *typeArg
|
||||
}
|
||||
return services.Common.Upload(ctx.Context(), user.ID, file, val)
|
||||
return services.Common.Upload(ctx, user.ID, file, val)
|
||||
}
|
||||
|
||||
// Get options (enums)
|
||||
@@ -50,5 +50,5 @@ func (c *Common) Upload(
|
||||
// @Produce json
|
||||
// @Success 200 {object} dto.OptionsResponse
|
||||
func (c *Common) GetOptions(ctx fiber.Ctx) (*dto.OptionsResponse, error) {
|
||||
return services.Common.Options(ctx.Context())
|
||||
return services.Common.Options(ctx)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user