setAdminSecret()
Use nhost.storage.adminSecret to set the admin secret to be used for subsequent storage requests. This is useful if you want to run storage in “admin mode”.
nhost.storage.setAdminSecret('some-admin-secret')Parameters
Section titled “Parameters”adminSecret optional string
Hasura admin secret