Skip to content
Snippets Groups Projects
Unverified Commit b99c7654 authored by Khemissi Amir's avatar Khemissi Amir Committed by GitHub
Browse files

V3 migrations: Add missing header. (#4793)

parent afc7e791
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
namespace :migrations do
DEFAULT_ROLES_MAP = { "admin" => "Administrator", "user" => "User" }.freeze
COMMON = {
headers: { "Content-Type" => "application/json" },
headers: { "Content-Type" => "application/json", "Accept" => "application/json" },
batch_size: 500,
filtered_roles: %w[super_admin admin pending denied user],
filtered_user_roles: %w[super_admin pending denied]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment