add client request time to request header of admin interface

This commit is contained in:
Moriz Wahl 2022-09-15 12:35:08 +02:00
parent 80bbf24116
commit 23f5ebabd3

View File

@ -10,6 +10,7 @@ const authLink = new ApolloLink((operation, forward) => {
operation.setContext({
headers: {
Authorization: token && token.length > 0 ? `Bearer ${token}` : '',
clientRequestTime: new Date().toString(),
},
})
return forward(operation).map((response) => {