Commit 41a47a07 authored by nhukretep's avatar nhukretep

change the destinationId

parent e29a9d9c
......@@ -27,8 +27,8 @@ export const getDestinations = async (accessToken) => {
});
if (response.data.length > 0) {
return {
organizationName: response.data[0].publicOrganization.organizationName,
destinationId: response.data[0].destinationId,
organizationName: response.data[2].publicOrganization.organizationName,
destinationId: response.data[2].destinationId,
};
} else {
return null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment