Socket
Socket
Sign inDemoInstall

orderiom-api-package

Package Overview
Dependencies
2
Maintainers
1
Versions
171
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.6 to 0.1.7

2

package.json
{
"name": "orderiom-api-package",
"version": "0.1.6",
"version": "0.1.7",
"description": "this package will install all neccessary api calls for every orderiom restaurant",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -97,8 +97,8 @@ import axios from "axios";

getRestaurantIdBySlug({ commit }, restaurantSlug) {
return axios.get('api/restaurant/restaurant-by-name', {
return axios.get('api/restaurant/id', {
params: {
restaurantName: restaurantSlug,
slug: restaurantSlug,
}
}).then((result) => {
commit('setRestaurantId', result.data.data[0].restaurant_id)
commit('setRestaurantId', result.data.data.id)
}).catch((error) => {

@@ -105,0 +105,0 @@ if (error.response) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc